import java.util.Random;

public class Main {
    public static void main(String[] args) {
        System.out.println(Math.abs(-66.6));//绝对值

        System.out.println(Math.ceil(66.6));//向上取整

        System.out.println(Math.floor(66.6));//向下取整

        System.out.println(Math.max(6,10));//求较大值

        System.out.println(Math.pow(2,3));//求n的m次方

        System.out.println(Math.round(66.5));//四舍五入
        System.out.println(Math.round(66.4));

        System.out.println(Math.random());//得到一个大于等于0小于1的数

        //生成3-6之间的
    }
}
